<nav class="navbar navbar-default">
  <div class="container">
    <!--  -->
    <div class="navbar-header">
      <button
        class="navbar-toggle collapse"
        data-toggle="collapse"
        data-target="#bs-example-navbar-collapse-1"
        aria-expanded="false"
      >
        <span class="sr-only">Toggle navbargation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a href="/" class="navbar-brand">
        <img src="/public/img/R-C.jpg" alt="" width="59px" />
      </a>
    </div>
    <!--  -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <form class="navbar-form navbar-left" action="">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search" />
        </div>
      </form>
      <ul class="nav navbar-nav navbar-right">
        <a href="/topics/new" class="btn btn-default navbar-btn">发起</a>
        <a href="/login" class="btn btn-primary navbar-btn">登录</a>
        <a href="/register" class="btn btn-success navbar-btn">注册</a>
        <li class="dropdown">
          <a
            href="#"
            class="dropdown-toggle"
            data-toggle="dropdown"
            role="button"
            aria-haspopup="true"
            aria-expanded="false"
          >
            <img
              src="/public/img/FACE_10399273_20211208T110612387_143.jpg"
              alt=""
              width="20"
              height="20"
            />
            <span class="caret"></span>
          </a>
          <ul class="dropdown-menu">
            <li class="dropdown-current-user">当前的用户：xxx</li>
            <li class="divider" role="separator"></li>
            <li>
              <a href="#">个人主页</a>
            </li>
            <li>
              <a href="/settings/profile">设置</a>
            </li>
            <li>
              <a href="#">提出</a>
            </li>
          </ul>
        </li>
      </ul>
    </div>
  </div>
</nav>
